import Backtrack from './backtrack'

export default {
  data() {
    return {
      fullArrayTargetList: [1, 2, 3, 4]
    };
  },
  created() {
    this.fullArray(this.fullArrayTargetList);
  },
  methods: {
    fullArray(nums = []) {
      const result = Backtrack.fullArray(nums);
      console.log(`输出 ${this.fullArrayTargetList} 的全排列结果 ============================= `);
      console.log(result);
    }
  }
}
